package com.hzsai.service;

import com.hzsai.dto.UserDTO;
import com.hzsai.pojo.User;
import com.hzsai.utils.ResponseMsg;

import java.util.List;
import java.util.Map;

/**
 * hzsai 2019/8/12
 * usage:
 **/
public interface MyBatisUserService {

    Map getUserById(long id);

    ///
    ResponseMsg insertUser(UserDTO user);

    List<User> getPageUser(long id, long size);

    User getUserByNameAndId(long id, String name);
}
